import http from '@/utils/request'


/**
 * 获取用户信息
 * @param {*} data 
 * @returns 
 */
 export const getInfo = (data) =>{
  return http({
    url: '/getInfo',
    method: 'get',
  })
}

/**
 * 获取用户的权限路由
 * @returns 
 */
export const getUserRouters = () => {
  return http({
    url:'/getRouters',
    method: 'get'
  })
}

